package bid.yanhj.springboot.config.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class BlogProperties {

	/**
	 * 博客名称.
	 */
	@Value("${com.didispace.blog.name}")
    private String name;
    /**
     * 博客标题.
     */
	@Value("${com.didispace.blog.title}")
    private String title;
    /**
     * 博客描述.
     */
	@Value("${com.didispace.blog.desc}")
    private String desc;
    /**
     * 随机字符串.
     */
	@Value("${com.didispace.blog.value}")
    private String value;
    /**
     * 随机int.
     */
	@Value("${com.didispace.blog.number}")
    private Integer number;
    /**
     * 随机long.
     */
	@Value("${com.didispace.blog.bignumber}")
    private Long bignumber;
    /**
     * 10以内的随机数.
     */
	@Value("${com.didispace.blog.test1}")
    private Integer test1;
    /**
     * 10-20的随机数.
     */
	@Value("${com.didispace.blog.test2}")
    private Integer test2;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public Integer getNumber() {
		return number;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
	public Long getBignumber() {
		return bignumber;
	}
	public void setBignumber(Long bignumber) {
		this.bignumber = bignumber;
	}
	public Integer getTest1() {
		return test1;
	}
	public void setTest1(Integer test1) {
		this.test1 = test1;
	}
	public Integer getTest2() {
		return test2;
	}
	public void setTest2(Integer test2) {
		this.test2 = test2;
	}

}
